//
//  LWXRedioCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "LWXRedioCell.h"

@interface LWXRedioCell()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UIImageView *titleImageView;

@end

@implementation LWXRedioCell

- (void)layoutSubviews {
    self.titleLabel.text = self.model.title;
    self.descLabel.text = self.model.desc;
    self.titleImageView.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:self.model.coverimg]]];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
